package com.sijibao.gather.event;

import java.io.Serializable;

public class RegisterSmsSendEvent extends Event implements Serializable
{
	private static final long serialVersionUID = -2052587070275379217L;
	/**
	 * 手机号
	 */
	private String userMobile;
	/**
	 * 发送时间
	 */
	private long sendTime;

	/**
	 * 客户端版本号
	 */
	private int clientVersion;
	/**
	 * 手机型号如：小米
	 */
	private String mobileModel;
	/**
	 * 设备号
	 */
	private String deviceCode;

	public RegisterSmsSendEvent(String userMobile, long sendTime,
			int clientVersion, String mobileModel, String deviceCode)
	{
		super(RegisterSmsSendEvent.class.getName());
		this.userMobile = userMobile;
		this.sendTime = sendTime;
		this.clientVersion = clientVersion;
		this.mobileModel = mobileModel;
		this.deviceCode = deviceCode;
	}

	public String getUserMobile()
	{
		return userMobile;
	}

	public void setUserMobile(String userMobile)
	{
		this.userMobile = userMobile;
	}

	public long getSendTime()
	{
		return sendTime;
	}

	public void setSendTime(long sendTime)
	{
		this.sendTime = sendTime;
	}

	public int getClientVersion()
	{
		return clientVersion;
	}

	public void setClientVersion(int clientVersion)
	{
		this.clientVersion = clientVersion;
	}

	public String getMobileModel()
	{
		return mobileModel;
	}

	public void setMobileModel(String mobileModel)
	{
		this.mobileModel = mobileModel;
	}

	public String getDeviceCode()
	{
		return deviceCode;
	}

	public void setDeviceCode(String deviceCode)
	{
		this.deviceCode = deviceCode;
	}

	@Override
	public String toString()
	{
		return "RegisterSmsSendEvent [userMobile=" + userMobile + ", sendTime="
				+ sendTime + ", clientVersion=" + clientVersion
				+ ", mobileModel=" + mobileModel + ", deviceCode=" + deviceCode
				+ "]";
	}

}
